<?php

namespace App\Modules\CodeDesigner\Factory;

abstract class Operation
{
    protected $number1 = 0;

    protected $number2 = 0;

    public function __construct(int $number1, int $number2)
    {
        $this->number1 = $number1;
        $this->number2 = $number2;
    }

    public abstract function getResult();
}